package com.java.tools;

public class TestDriver1 {

	public static void main(String[] args) {
		test01();

	}

	private static void test01() {
		// 创建2个Student的实例对象
		Student stu = new Student("王红", "女", 20, 98);
		Student stu1 = new Student("王红", "男", 21, 98);
		System.out.println("stu是否等于stu1：：" + stu.equals(stu1));

	}
}
